﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db;
using HengTong.Model.Db.System;


namespace HengTong.ViewModel._Admin.SysSmsAuthLogVms
{
    public partial class SysSmsAuthLogTemplateVm : BaseTemplateVM
    {
        [Display(Name = "手机号码")]
        public ExcelPropety PhoneExcel = ExcelPropety.CreateProperty<SysSmsAuthLog>(x => x.Phone);
        [Display(Name = "推送内容")]
        public ExcelPropety ContextExcel = ExcelPropety.CreateProperty<SysSmsAuthLog>(x => x.Context);
        [Display(Name = "推送结果")]
        public ExcelPropety StateExcel = ExcelPropety.CreateProperty<SysSmsAuthLog>(x => x.State);
        [Display(Name = "错误消息")]
        public ExcelPropety MessageExcel = ExcelPropety.CreateProperty<SysSmsAuthLog>(x => x.Message);
        [Display(Name = "短信时间")]
        public ExcelPropety SmsTimeExcel = ExcelPropety.CreateProperty<SysSmsAuthLog>(x => x.SmsTime);

	    protected override void InitVM()
        {
        }

    }

    public class SysSmsAuthLogImportVm : BaseImportVM<SysSmsAuthLogTemplateVm, SysSmsAuthLog>
    {

    }

}
